#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
    int n;
    cin >> n;
    cout << "2^" << n << " = " << pow(2, n) << endl;
    return 0;
}